<?xml version='1.0' encoding="UTF-8" ?>
<xsl:stylesheet version="1.0" 
	xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
	xmlns:xhtml='http://www.w3.org/1999/xhtml'>
	<xsl:output method="text"/>
	<xsl:strip-space elements="*" /> 

	<!-- Ignores all text nodes wich are not in the body-->
	<xsl:template match="text()" />
	<!-- mathces every text node wich is descendant of the body -->
	<xsl:template match="xhtml:body//text()">
		<xsl:value-of select="." /><xsl:text> </xsl:text>
		<xsl:apply-templates />	
	</xsl:template>
</xsl:stylesheet>
